#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "SimpleOpenNIViewer.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

protected:
    SimpleOpenNIViewer *simpleOpenNIViewer;
    bool simpleOpenNIViewerThreadExists;

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_Go_pushButton_clicked();

    void DeleteSimpleOpenNIViewerThread();

    void on_Stop_pushButton_clicked();

    void SimpleOpenNIViewerThreadFinished();

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
